﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace YogaStudio.Data.Domain
{
    public class Category
    {
        [Key]
        public int CategoryId { get; set; } 
        
        [Required]
        public string CategoryName { get; set; }

        [DataType(DataType.MultilineText)]
        public string CategoryDescription { get; set; }

        public virtual ICollection<Product> Products { get; set; }
    }
}
